<?php $this->headTitle('Default - index'); ?>
<div id="view-content">
    <p>View script for controller <b>Index</b> and script/action name <b>index</b></p>
</div>
<p>Productx</p>
<table width="800" border="1">
    <tr>
        <td>Id</td>
        <td>Product</td>
        <td>CatId</td>
        <td>Cat</td>
        <td>ManufacId</td>
        <td>Manufac</td>
    </tr>
    <?php foreach ($this->Productx as $property): ?>
        <tr>
            <td><?php echo $property->getId(); ?></td>
            <td><?php echo $property->getProduct(); ?></td>
            <td><?php echo $property->getCat_id(); ?></td>
            <td><?php echo $property->getCat(); ?></td>
            <td><?php echo $property->getManufac_id(); ?></td>
            <td><?php echo $property->getManufac(); ?></td>        
        </tr>        
    <?php endforeach; ?>
</table>


<p>Commons</p>
<table width="200" border="1">
    <tr>
        <td>Id</td>
        <td>Type</td>
        <td>Name</td>        
    </tr>
    <?php foreach ($this->Commons as $propertys): ?>
        <tr>
            <td><?php echo $propertys->getId(); ?></td>
            <td><?php echo $propertys->getType(); ?></td>
            <td><?php echo $propertys->getName(); ?></td>            
        </tr>        
    <?php endforeach; ?>
</table>